{extend name="AdminController/index" /}
{block name="main"}
<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<div class="content-page">
    <div class="content">
        <h1>{$title}</h1>
<form action="{:url('updateActor')}" method="post" >

    <div class="form-group">
          <!-- Select Basic -->
          <label class="control-label">分配演员</label>
          <div class="controls">

            {volist name="actor" id="v"}
              <label>
              <input type="checkbox" name="actor[]" value="{$v.id}"
              {if condition="in_array($v['id'],$myactor) eq true"}checked{/if}>
              {$v.name}
              </label>
           {/volist}
           

          </div>
    </div>
    <input type="hidden" name="mid" value="{$mid}">
    <button type="submit" class="btn btn-success">提交</button>
</form>
    </div>
</div>


{/block}

